package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Major;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MajorMapper1 {


    List<Major> selectPostList(Major major);

    Major selectPostById(Long id);

    int checkPostNameUnique(Major major);

    int checkPostCodeUnique(Major major);

    int insertPost(Major major);
}
